import Vue from 'vue';
import Router from 'vue-router';

import router from './router.js';

import home from '@/views/home/';

Vue.use(Router);

let RouterModel = new Router({
    mode: 'hash',
    base: '/',
    routes: [...router,...home]
})

RouterModel.beforeEach((to, from, next) => {
    next();
})

RouterModel.afterEach((to, from) => {})

export default RouterModel;